// created by noellynch
// May 18, 2011

package com.gruntdb.objects;

public class GruntDBFileSeek {
	private		long			ml_seek;
	private		GruntDBFile		mcl_file;
	
	protected	GruntDBFileSeek(GruntDBFile cl_file) {
		mcl_file = cl_file;
		ml_seek = 0;
	}
	
	public	void	offset(long l_amount) {
		ml_seek += l_amount;
	}
	
	public	long		getCurrentSeek() {
		return ml_seek;
	}
	
	public	void		setCurrentSeek(long l_seek) {
		ml_seek = l_seek;
	}

	@Override
	public String toString() {
		return "GruntDBSeek [mcl_file=" + mcl_file + ", ml_seek=" + ml_seek
				+ "]";
	}
	
	
}
